<div class="col-sm-10 col-md-9 col-lg-7">
    <form class="form-horizontal" role="form" action="{:U('User/update')}" method="POST">
        <div class="form-group">
            <label for="username">用户名</label>
            <input type="text" class="form-control" id="username" name="username" value="<if condition="isset($info['username'])">{$info.username}</if>">
        </div>
        <div class="form-group">
            <label for="email">Email</label>
            <input type="text" class="form-control" id="email" name="email" value="<if condition="isset($info['email'])">{$info.email}</if>">
        </div>
        <div class="form-group">
            <label for="mobile">Mobile</label>
            <input type="text" class="form-control" id="mobile" name="mobile" value="<if condition="isset($info['mobile'])">{$info.mobile}</if>">
        </div>
        <div class="form-group">
            <label for="password">密码</label>
            <input type="text" class="form-control" id="password" name="password" value="">
        </div>

        <div class="hidden">
            <input name="id" value="<if condition="isset($info['id'])">{$info.id}</if>">
        </div>

        <button type="submit" class="btn btn-default">提交</button>
    </form>
</div>